package com.mingqijia.gassafety.db.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.mingqijia.gassafety.db.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 设备安装工单信息
 * </p>
 *
 * @author wanghai
 * @since 2022-09-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_gss_dtu_binding_order")
@ApiModel(value="DtuBindingOrder对象", description="设备安装工单信息")
public class DtuBindingOrder extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "客户id")
    @TableField("consumer_id")
    private Integer consumerId;

    @ApiModelProperty(value = "VCC用户ID")
    @TableField("member_id")
    private String memberId;

    @ApiModelProperty(value = "设备id")
    @TableField("device_id")
    private String deviceId;

    @ApiModelProperty(value = "工单号")
    @TableField("order_no")
    private String orderNo;

    @ApiModelProperty(value = "订单编号")
    @TableField("out_order_code")
    private String outOrderCode;

    @ApiModelProperty(value = "订单姓名")
    @TableField("cust_name")
    private String custName;

    @ApiModelProperty(value = "订单联系电话")
    @TableField("phone")
    private String phone;

    @ApiModelProperty(value = "订单联系人地址")
    @TableField("address")
    private String address;

    @ApiModelProperty(value = "备注实际地址")
    @TableField("real_address")
    private String realAddress;
}
